package de.bht.cge.flightsim.util;

import de.bht.jvr.math.Vector2;
import de.bht.jvr.math.Vector3;

public class Settings
{
	public static Vector3[] Ground;
	
	public static int Koeffizient = 1260;
	
	public static Vector3 CamStartPosition;
	
	public static float PlaneStartRX;
	public static float PlaneStartRY;
	public static float PlaneStartRZ;
	
	public static float SkyboxScale = 1000.0f;
	public static float PlaneScale = 0.4f;
	public static float GroundScale = 1.0f;
	public static Vector2 heightOverlayPosition;
	public static Vector2 heightOverlaySize;
	
    public static Vector2 speedOverlayPosition;
    public static Vector2 speedOverlaySize;
	
	public static String backTextureFile = "textures/skybox/mountain_ring_bk.jpg";
	public static String leftTextureFile = "textures/skybox/mountain_ring_lf.jpg";
	public static String rightTextureFile = "textures/skybox/mountain_ring_rt.jpg";
	public static String topTextureFile = "textures/skybox/mountain_ring_up.jpg";
	public static String bottomTextureFile = "textures/skybox/mountain_ring_dn.jpg";
	public static String frontTextureFile = "textures/skybox/mountain_ring_ft.jpg";
	public static String cockpitOverlay = "textures/cockpit.png";
	public static String fontOverlay = 	    "textures/fonts/fonts.png";
	public static String[] terrainnames = { "terrain1.dae","terrain2.dae",
	    "terrain3.dae","terrain4.dae",
	    "terrain5.dae","terrain6.dae",
	    "terrain7.dae","terrain8.dae",
										    "terrain9.dae"};
	
		
	public static Vector3 PlaneCameraDistance;
	
	static
	{		
	    heightOverlayPosition = new Vector2(0.46f, 0.79f);
	    heightOverlaySize = new Vector2(0.03f, 0.045f);
	    
	    speedOverlayPosition = new Vector2(0.25f, 0.79f);
	    speedOverlaySize = new Vector2(0.03f, 0.045f);
	    
		CamStartPosition = new Vector3(50,80,-20);
		
		PlaneStartRX = 0.0f;
		PlaneStartRY = 0.0f;
		PlaneStartRZ = 0.0f;
		
		PlaneCameraDistance = new Vector3(0.0f, -0.8f, -2.0f);
		
		Ground = new Vector3[9];	
		float size = Koeffizient * GroundScale;
		
		Ground[0] = new Vector3(-size,0,size);
		Ground[1] = new Vector3(0,0,size);
		Ground[2] = new Vector3(size,0,size);
		Ground[3] = new Vector3(-size,0,0);
		Ground[4] = new Vector3(0,0,0);
		Ground[5] = new Vector3(size,0,0);
		Ground[6] = new Vector3(-size,0,-size);
		Ground[7] = new Vector3(0,0,-size);
		Ground[8] = new Vector3(size,0,-size);
	}
}
